import { MysqlBin } from 'coa-mysql'


// MySQL配置
const mysqlConfig = {
    host: '127.0.0.1',
    port: 3306,
    user: 'root',
    password: '123456',
    charset: 'utf8mb4',
    trace: true,
    debug: false,
    databases: {
        main: { database: 'koa', ms: 7 * 24 * 3600 * 1000 },
        other: { database: 'other', ms: 7 * 24 * 3600 * 1000 },
    },
}


export const mysqlBin = new MysqlBin(mysqlConfig)
